package com.scm.persist.mybatis;

import com.scm.persist.model.ScmSupplyQuotationDetail;
import com.scm.persist.model.ScmSupplyQuotationDetailExample;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;

import java.util.List;

public interface ScmSupplyQuotationDetailMapper {
    int countByExample(ScmSupplyQuotationDetailExample example);

    int deleteByExample(ScmSupplyQuotationDetailExample example);

    int deleteByPrimaryKey(Long id);

    int insert(ScmSupplyQuotationDetail record);

    int insertSelective(ScmSupplyQuotationDetail record);

    List<ScmSupplyQuotationDetail> selectByExampleWithRowbounds(ScmSupplyQuotationDetailExample example, RowBounds rowBounds);

    List<ScmSupplyQuotationDetail> selectByExample(ScmSupplyQuotationDetailExample example);

    ScmSupplyQuotationDetail selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") ScmSupplyQuotationDetail record, @Param("example") ScmSupplyQuotationDetailExample example);

    int updateByExample(@Param("record") ScmSupplyQuotationDetail record, @Param("example") ScmSupplyQuotationDetailExample example);

    int updateByPrimaryKeySelective(ScmSupplyQuotationDetail record);

    int updateByPrimaryKey(ScmSupplyQuotationDetail record);
}
